<?php
namespace app\common\validate;
use think\Validate;

class Navigation extends Validate{

    protected $rule = [
        'title'=>'require',
        'url'=>'require',
        'permission'=>'require',
    ];

    protected $message = [
        'title.require'=>'栏目名称必填',
        'url.require'=>'链接必填',
        'permission.require'=>'链接必填',
    ];

}